<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<script type="text/javascript" src="/js/common.js"></script>
	<script type="text/javascript" src="/js/jquery.form.js"></script>
	<link rel="stylesheet" href="/css/base.css" type="text/css">
	<script type="text/javascript" src="/view/js/supplier/updateSupplier.js"></script>
</head>
<body>

<div  class="addclass">
	<div class="title">修改供应商</div>
	<form class="contact_form" id="updateForm" method="post" name="contact_form" >
		<input type="text" name="id" id="id" class="easyui-validatebox" hidden="true"/>
		<input type="text" name="remark" id="remark" class="easyui-validatebox" hidden="true"/>
		<table class="table" style="BORDER-COLLAPSE: collapse;" border="1">
			<tr>
				<th><label  >供应商(厂家):</label></th>
				<td>
					<input type="text" name="supplierName" id="supplierName" class="easyui-validatebox" data-options="required:true,missingMessage:'必填'" maxlength="16" onkeyup="this.value=this.value.replace(/\s+/ ,'')"/>
				</td>
				<th><label>拼音码:</label></th>
				<td>
					<input type="text" name="pinyin" id="pinyin" class="easyui-validatebox" maxlength="20" data-options="required:true,missingMessage:'必填'"   onkeyup="this.value=this.value.replace(/\s+/ ,'')" />
				</td>
			</tr>
			<tr>
				<th><label  >联系人:</label></th>
				<td>
					<input type="text" name="name" id="name" class="easyui-validatebox" data-options="required:true,missingMessage:'必填'" maxlength="16" onkeyup="this.value=this.value.replace(/\s+/ ,'')"/>
				</td>
				<th><label  >手机号:</label></th>
				<td>
					<input type="text" name="phone" id="phone" class="easyui-validatebox" data-options="required:true,missingMessage:'必填'" maxlength="11" onkeyup="this.value=this.value.replace(/\s+/ ,'')"/>
				</td>
			</tr>
			<tr>
				<th><label>地址:</label></th>
				<td>
					<input type="text" name="addr" id="addr" class="easyui-validatebox"  data-options="required:true,missingMessage:'必填'"/>
				</td>
				<th><label>邮编:</label></th>
				<td>
					<input type="text" name="postalCode" id="postalCode" class="easyui-validatebox" maxlength="20"    />
				</td>
			</tr>

		</table>
	</form>

	<div class="linkbuts">
		<a id="btnsave" href="#" class="easyui-linkbutton" onclick="updateMerchant();" data-options="iconCls:'icon-save'">保存</a>
		<!-- 		<a id="btncancel" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload'">重置</a> -->
	</div>
</div>

</body>
</html>